//此文件已失效，用户登录系统会自动获取到后台的所有已授权的菜单资源并展示授权菜单
var menus = [
  {
    action: "home",
    title: "首页",
    path:"/index",
    items: [
      { title: "统计", path: "/dashboard" }
    ]
  },
  {
    action: "apps",
    title: "模板管理",
    path:"/template",
    items: [
      { title: "代码生成", path: "/code" },
      { title: "文档生成", path: "/word" },
      { title: "模板列表", path: "/list" },
      { title: "规格参数", path: "/specification" }
    ]
  },
  {
    action: "apps",
    title: "MOCK管理",
    path:"/mock",
    items: [
      { title: "接口管理", path: "/interface" },
      { title: "MOCK数据", path: "/data" },
      { title: "接口文档", path: "/word" }
    ]
  },
  {
    action: "schedule",
    title: "任务管理",
    path:"/schedule",
    items: [
      { title: "任务列表", path: "/list" },
      { title: "规则配置", path: "/config" },
      { title: "任务日志", path: "/log" }
    ]
  },
  {
    action: "schedule",
    title: "流程管理",
    path:"/process",
    items: [
      { title: "流程定义", path: "/define" },
      { title: "流程模型", path: "/model" },
      { title: "流程审批", path: "/auth" },
      { title: "流程日志", path: "/log" }
    ]
  },
  {
    action: "settings",
    title: "系统管理",
    path:"/system",
    items: [
      { title: "资源管理", path: "/resource" },
      { title: "角色管理", path: "/role" },
      { title: "用户管理", path: "/people" }
    ]
  }
]

export default menus;
